<!--
 * @Author: una
 * @Date: 2021-12-31 13:06:43
 * @LastEditors: una
 * @LastEditTime: 2021-12-31 13:45:11
 * @Description: file content
-->
<template>
  <div class="test-container" style="position:relative">
    <Loading v-if="isShow" /><button @click="handleIsShow">
      点击显示/隐藏
    </button>
  </div>
</template>

<script>
import Loading from "./";
export default {
  data() {
    return {
      isShow: true,
    };
  },
  components: {
    Loading,
  },
  methods: {
    handleIsShow() {
      this.isShow = !this.isShow;
    },
  },
};
</script>

<style scoped lang="less">
</style>
